home *** CD-ROM | disk | FTP | other *** search
/ PC Home 48 / Fun Clicp Art 5000.iso / r / mbm / 00869_PH- bt +.ls < prev    next >
Encoding:
Text File  |  1996-05-11  |  606 b   |  28 lines

  1. on MouseClick
  2.   global g1erSprLoc, gLabel, gPhLabel, gEtagDep, gEtagArr, gListCodPhy, gSujAct, gRetour, gCDpath
  3.   if word 1 of the name of cast the castNum of sprite g1erSprLoc = "BTGOEI" then
  4.     set gLabel to "PH:IN fi"
  5.     set gPhLabel to "PH:OU"
  6.     set gRetour to "PH:IN"
  7.   else
  8.     set gEtagArr to gEtagDep
  9.     gBoutons(relache, g1erSprLoc)
  10.   end if
  11. end
  12.  
  13. on mouseDown
  14.   global gNumSpr, g1erSprLoc, gBoutons
  15.   set gNumSpr to g1erSprLoc
  16.   gBoutons(appuie, gNumSpr)
  17. end
  18.  
  19. on mouseUp
  20.   global gNumSpr, g1erSprLoc
  21.   curseur(1)
  22.   if gNumSpr = g1erSprLoc then
  23.     MouseClick()
  24.   else
  25.     pass()
  26.   end if
  27. end
  28.